package com.shensi.adminCollect.mapper.station;

import com.shensi.adminCollect.domain.station.NonClassSettlement;
import com.shensi.adminCollect.domain.station.dto.QueryClassDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NonClassSettlementMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NonClassSettlement record);

    int insertSelective(NonClassSettlement record);

    NonClassSettlement selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(NonClassSettlement record);

    int updateByPrimaryKey(NonClassSettlement record);

    NonClassSettlement selectNonClassSettlementLastEndTime(NonClassSettlement nonClassSettlement);

    // 确认班结  订单部分
    List<NonClassSettlement> selectNonClassSettlementGroupOrder(QueryClassDto queryClassDto);

    // 确认班结  订单详情部分
    List<NonClassSettlement> selectNonClassSettlementGroupOrderDetails(QueryClassDto queryClassDto);

    // 班结列表
    List<NonClassSettlement> selectNonClassSettlementList(NonClassSettlement nonClassSettlement);

    // 班结详情
    List<NonClassSettlement> selectNonClassSettlementDetails(@Param("classNo") String classNo);
}